package cn.anc.aonicardv.net.upload;

import rx.Subscriber;

/**
 * Created by yangdai on 2017/6/7.
 */

public abstract class UploadSubscriber extends Subscriber<String> {

    @Override
    public void onStart() {

    }

    @Override
    public void onCompleted() {

    }

    @Override
    public void onError(final Throwable e) {
    }

    @Override
    public void onNext(String o) {

    }

    public abstract void onProgress(long fileSizeDownloaded, long totalSize);

    public abstract void onSuccess();


}
